// pages/index/ad/index.js
Page({

  data: {
    img:'https://ss2.baidu.com/6ONYsjip0QIZ8tyhnq/it/u=2255000006,394215384&fm=173&app=25&f=JPEG',
    name:'胡萝卜炒饭',
    author:'浅夏泡沫·5746浏览·108收藏',
    shuoming:'蛋炒饭，是一种常见菜肴。最早的记载见于1972年湖南长沙马王堆汉墓出土的竹简上有关“卵熇”的资料',
    material:[
      {
        title:'胡萝卜',
        num:'少许'
      },{
        title:'胡萝卜',
        num:'少许'
      },{
        title:'胡萝卜',
        num:'少许'
      },{
        title:'胡萝卜',
        num:'少许'
      }
    ],
    do:[
      {
        img:'https://ss1.baidu.com/6ONXsjip0QIZ8tyhnq/it/u=4114549156,2451085898&fm=173&app=25&f=JPEG',
        info:'1.米饭里面打入鸡蛋、少许盐、半汤匙食用油抓匀备用'
      },{
        img:'https://cp1.douguo.com/upload/caiku/5/f/6/yuan_5f127a5e27705ce8151d2673ed91b9d6.jpg',
        info:'2.玉米粒焯熟，胡萝卜和马蹄去皮，青椒和马蹄切小丁，胡萝卜切和肉切碎 肉放一滴蚝油、1茶匙淀粉、少许白胡椒粉、1茶匙生抽抓匀'
      },{
        img:'https://cp1.douguo.com/upload/caiku/2/5/b/200_256e2254b90108ffe0bbade39e632d5b.jpg',
        info:'3.热锅放半铲子菜籽油烧热，转中火倒入马蹄胡萝卜肉一起翻炒至肉变色出锅备用'
      },{
        img:'https://cp1.douguo.com/upload/caiku/1/3/e/yuan_1368aad9f1ad323ee518a00e898a098e.jpg',
        info:'4.锅里再补点菜籽油，倒入米饭中火翻炒至颗粒分明，调入适量生抽翻炒上色'
      }
    ],
    tip:'做菜好吃都有技巧，我的每道菜都有小妙招，直接查看我的菜谱！'
  },

  onLoad: function (options) {
    wx.setNavigationBarTitle({
      title: this.data.name,
      success: (result)=>{
        
      },
      fail: ()=>{},
      complete: ()=>{}
    });
  },
  onShareAppMessage: function () {

  }
})